package com.filemanager;



import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;

/**
 * Created by IntelliJ IDEA.
 * User: Anna.Bulenkova
 * Date: 27.10.11
 * Time: 13:11

 */
public class FileHTTPClient {
//

    public static void main(String[] args) {
        try {
            URL url = new URL("localhost");
            URLConnection urlConnection = url.openConnection();

            HttpURLConnection connection = (HttpURLConnection) urlConnection;
            connection.setRequestMethod("POST");

        }
        catch (Throwable ignored) {

        }


    }
}
